package com.qdlc.p2p.dal.model;

import java.util.List;

public interface Tree<T> {

	public boolean hasChild();

	@SuppressWarnings("rawtypes")
	public List<Tree> getChild();

	@SuppressWarnings("rawtypes")
	public Tree getParent();

	public T getModel();

	@SuppressWarnings("rawtypes")
	public void addChild(Tree t);
}
